package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class PageDecorationImg implements Serializable {
    /**
     * 主键id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 页面装修id
     *
     * @mbg.generated
     */
    private Integer pageId;

    /**
     * 类型 banner/images
     *
     * @mbg.generated
     */
    private String type;

    /**
     * 名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 路径
     *
     * @mbg.generated
     */
    private String url;

    /**
     * 链接
     *
     * @mbg.generated
     */
    private String link;

    /**
     * tab显示方式
     *
     * @mbg.generated
     */
    private Integer tabType;

    /**
     * 所属页面下标
     *
     * @mbg.generated
     */
    private Integer subscript;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPageId() {
        return pageId;
    }

    public void setPageId(Integer pageId) {
        this.pageId = pageId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getTabType() {
        return tabType;
    }

    public void setTabType(Integer tabType) {
        this.tabType = tabType;
    }

    public Integer getSubscript() {
        return subscript;
    }

    public void setSubscript(Integer subscript) {
        this.subscript = subscript;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pageId=").append(pageId);
        sb.append(", type=").append(type);
        sb.append(", name=").append(name);
        sb.append(", url=").append(url);
        sb.append(", link=").append(link);
        sb.append(", tabType=").append(tabType);
        sb.append(", subscript=").append(subscript);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}